﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="order.aspx.cs" Inherits="Web.order" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:GridView runat="server" ID="gvShoppingCart" AutoGenerateColumns="False" 
        EmptyDataText="Không có sản phẩm nào để thanh toán" GridLines="Vertical" 
        Width="100%" CellPadding="4" ShowFooter="True" DataKeyNames="ProductId" 
        OnRowDataBound="gvShoppingCart_RowDataBound" 
       
        BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" ForeColor="Black" 
        Height="149px" 
       >
				<HeaderStyle HorizontalAlign="Left" BackColor="#6B696B" ForeColor="White" Font-Bold="True" />
				<FooterStyle HorizontalAlign="Right" BackColor="#CCCC99" />
				<AlternatingRowStyle BackColor="White" />
				<Columns>
					<asp:BoundField DataField="Name" HeaderText="T&#234;n sản phẩm" >
                        <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    </asp:BoundField>
					<asp:TemplateField HeaderText="Số lượng">
						<ItemTemplate>
							<asp:Label runat="server" ID="txtQuantity" Columns="5" Text='<%# Eval("Quantity") %>'></asp:Label><br />
							
						</ItemTemplate>
                        <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
					</asp:TemplateField>
					<asp:BoundField DataField="UnitPrice" HeaderText="Gi&#225;"  >
                        <HeaderStyle HorizontalAlign="Right" />
                        <ItemStyle HorizontalAlign="Right" />
                        <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    </asp:BoundField>
					<asp:BoundField DataField="TotalPrice" HeaderText="Th&#224;nh tiền" >
                        <HeaderStyle HorizontalAlign="Right" />
                        <ItemStyle HorizontalAlign="Right" />
                        <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    </asp:BoundField>
				</Columns>
                <RowStyle BackColor="#F7F7DE" />
                <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
			</asp:GridView>


    <table class="style1">
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl = "https://www.nganluong.vn/data/images/buttons/11.gif" 
                    onclick="ImageButton1_Click" />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <br />


</asp:Content>
